package com.zjmcollege.hotpot.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author zpym
 * @CopyRight (C) http://www.iengoo.com
 * @brief
 * @email 122162005@qq.com
 * @date 2019-11-13 15:33
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class MsgModel {
    private String nickname;
    private String ip;
    private String avatar = "#";
    private String msg;

    public MsgModel(String nickname, String ip) {
        this.nickname = nickname;
        this.ip = ip;
    }

    public MsgModel(String nickname, String ip, String msg) {
        this.nickname = nickname;
        this.ip = ip;
        this.msg = msg;
    }
}
